$animationTime: 0.2s;
$animationType: linear;
$ratio: 750 / 10;

@function px2rem($px) {
  @return $px / $ratio + rem;
}

@mixin absCenter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@mixin center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

@mixin top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@mixin right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@mixin columnTop {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@mixin columnLeft {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@mixin columnCenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@mixin ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@mixin ellipsis2($line) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
}

@mixin scroll {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  &::-webkit-scrollbar {
    display: none;
  }
}

@mixin leftBottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.icon {
  color: #666;
  font-size: px2rem(16);
}

.title {
  color: #666;
  font-size: px2rem(16);
  font-weight: bold;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
  border-radius: 0px !important;
  background-color: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background-color: #d2d2d2;
  min-height: 28px;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}

.el-time-panel__footer {
  display: flex;
  justify-content: flex-end;
}

.full_width {
  width: 100%;
}

.half_width {
  width: 50%;
}

.full_height {
  height: 100%;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

.m-r-10 {
  margin-right: 10px;
}

.m-l-10 {
  margin-left: 10px !important;
}

.m-t-15 {
  margin-top: 15px;
}

.m-t-1 {
  margin-top: 10px !important;
}

.m-b-1 {
  margin-bottom: 10px;
}

.m-l-1 {
  margin-left: 10px;
}

.table_col {
  color: #333;
}

.table_col th {
  background: #e7eff2 !important;
}

a {
  text-decoration: none;
}

.color_warning_dia {
  color: #e6a23c;
  font-size: 18px;
}

.sunmit_tips {
  margin-top: 15px;
  text-align: right;
}
.bot_tips {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  &.bot_tips_end {
    justify-content: flex-end;
  }
}
